
def fakt(x)
	fak = 1
	(1..x).each {|x| fak = fak*x} 
	return fak
end

p fakt(10)
